home *** CD-ROM | disk | FTP | other *** search
/ 200 Game / 200GAME2.iso / FLASHGAME / BREAKOUT.EXE / scripts / frame_1 / PlaceObject2_7_5 / CLIPACTIONRECORD onClipEvent(enterFrame).as
Encoding:
Text File  |  2000-08-17  |  162 b   |  11 lines

  1. onClipEvent(enterFrame){
  2.    if(Key.isDown(Key.LEFT))
  3.    {
  4.       this._x -= speed;
  5.    }
  6.    if(Key.isDown(Key.RIGHT))
  7.    {
  8.       this._x += speed;
  9.    }
  10. }
  11.